moveToEndOfLineAndModifySelection

Returns a command that allows moving a word to the end of line and modifying selection in a text area or a WYSIWYG editor.